package com.tensquare.notice.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tensquare.notice.pojo.TbNotice;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 文章(TbNotice)表数据库访问层
 *
 * @author long
 * @since 2021-07-17 16:11:22
 */
public interface TbNoticeDao extends BaseMapper<TbNotice> {

    @Update("update tb_notice set isdelete=1 where id=#{id}")
    void deleteById(@Param("id") String id);
}
